#ifndef _OD_SIP_REGISTER_SERVER_H_
#define _OD_SIP_REGISTER_SERVER_H_

#include "eXosip2/eXosip2.h"
#include "od_sip_comn.h"

#ifdef __cplusplus
    extern "C" {
#endif



typedef struct 
{
    const char *task_name;
}od_sip_reg_server_static_params;

typedef struct 
{
    char userID[64];
    char passwd[64];  
    char realm[64];     
    int  algorithm;      /**< 注册认证算法，默认支持MD5*/
    char nonce[64];      /**< */
    int  auth_flg;     
}od_sip_reg_server_dynamic_params;


typedef void* od_sip_reg_server_handle;

extern const od_sip_reg_server_dynamic_params glb_sip_reg_server_dynamic_params_default;

od_sip_reg_server_handle od_sip_reg_server_create(od_sip_reg_server_static_params *static_params, 
                                                od_sip_reg_server_dynamic_params *dynamic_params);


#ifdef __cplusplus
    }
#endif


#endif

/*_*/

